package com.youxin.busfoundation.common;

import com.youxin.busfoundation.bean.BusinessMessages;
import com.youxin.foundation.lang.BaseException;

/**
 * 基础业务类异常类
 * @author yingde.cao
 *
 */
public class BusinessException extends BaseException{

	private static final long serialVersionUID = 1325984087409L;
	public BusinessException(int code, String msg)
	{
		super(code,msg);
	}
	
	public BusinessException(String msg)
	{
		super(BusinessMessages.USERFAILURE_CODE,msg);
	}
	
}
